package cn.change.user.domain;
import java.util.Date;
import cn.change.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sun.org.apache.bcel.internal.generic.NEW;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author lhl
 * @since 2022-04-01
 */
@Data
public class User extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private String username;

    private String email;

    private String phone;
    /**
     * 盐值
     */
    private String salt;
    /**
     * 密码，md5加密加盐
     */
    private String password;

    private Integer age;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GTM+8")
    private Date createtime = new Date();

    private String headImg;

    private Long logininfoId;


}
